<template>
    <div class="list-detail">
      <list :list="list"></list>
    </div>
</template>
<script>
import List from "@/components/CateItem";
export default {
  name: "Parent",
  components: { List },
  data() {
    return {
      list: [{
          name: "数码",
          children: [{
              name: "摄影摄像",
              children: [{
                  name: "数码相机"
                },
                {
                  name: "单反相机"
                }]
            },{
              name: "数码配件",
              children: [{
                  name: "存储卡"
                },
                {
                  name: "过滤镜"
                }]
            },{
              name: "影音娱乐",
              children: [{
                  name: "耳机"
                },
                {
                  name: "音响"
                }]
            }]
        }]
    }
  }
}
</script>